<?php use_helper('Object'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<?php include_http_metas() ?>
	<?php include_metas() ?>
	<?php include_title() ?>
	<?php include_stylesheets() ?>
	<?php include_javascripts() ?>
	<?php //echo javascript_include_tag('ajaxfilemanager') ?>
	<link rel="shortcut icon" href="/favicon.ico" />
	</head>
	
	<body>
		<div id="header">
			<h1>CMS</h1>
		</div>
		
		<div id="subheader">
	  		<span>Ingelogd als:	<strong><?php echo $sf_user->getUsername(); ?></strong></span>
			<span><?php echo link_to('Uitloggen', '@sf_guard_signout', array('confirm' => 'Uitloggen?')) ?></span>
		</div>
		<br clear="all" />

		<div id="leftmenu">
			<h2>Menu</h2>
				
			<ul id="modulesmenu">
				<li class="heading">Statements</li>
				<li><?php echo link_to("Statements bewerken", "statement/index")?></li>
				<li class="heading">Overig</li>
		       	<li><?php echo link_to('Wijzig wachtwoord', '@sf_guard_change_password')?></li>
		        <li><?php echo link_to('Uitloggen', '@sf_guard_signout', array('confirm' => 'Uitloggen?')) ?></li>
			</ul>
		</div>

		<div id="content">
			<?php if ($sf_user->hasFlash('message')): ?>
		  	<ul class="feedback">
		  		<li><?php echo $sf_user->getFlash('message') ?></li>
		  	</ul>
			<?php endif; ?>
			
		
			<?php echo $sf_data->getRaw('sf_content') ?>

		</div>
	</body>
</html>
